package com.ocean.elasticSearch.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @version 1.0
 * @className: RestClientProperties
 * @description: TODO
 * @author: lxq
 * @date: 2021/4/15
 **/
@ConfigurationProperties(prefix = "spring.elasticsearch.rest")
public class RestClientProperties {
    private List<String> uris = new ArrayList<>(Collections.singletonList("http://106.55.29.51:9200"));
}
